package com.gouqi.codesandbox.security;

import cn.hutool.core.io.FileUtil;

import java.io.File;
import java.nio.charset.Charset;


public class TestSecurityManager extends SecurityManager {
    public static void main(String[] args) {
        System.setSecurityManager(new MySecurityManager());
//        List<String> strings = FileUtil.readLines("E:\\personal_program\\qioj\\code-sandbox\\src\\main\\resources\\application.yml", StandardCharsets.UTF_8);
        File file = FileUtil.writeString("aa", "aaa", Charset.defaultCharset());
        System.out.println(file);
    }
}
